//
//  SMSRequestProvider.h
//  SulitLoan
//
//  Created by 虞嘉伟 on 2025/2/26.
//  
  

#import <YTKNetwork/YTKRequest.h>

NS_ASSUME_NONNULL_BEGIN

@interface TrackLocationModel : NSObject
// 省
@property (nonatomic, copy  ) NSString *province;
// 国家code
@property (nonatomic, copy  ) NSString *countryCode;
// 国家
@property (nonatomic, copy  ) NSString *country;
// 街道
@property (nonatomic, copy  ) NSString *street;
// 市
@property (nonatomic, copy  ) NSString *city;

+ (void)location:(void(^)(TrackLocationModel *model))completion;
@end


/// 上报位置信息
@interface LocationRequestProvider : NSObject

+ (void)requestTrackWithLocation:(TrackLocationModel *)model success:(void(^)(NSDictionary *dict))success failure:(void(^)(YTKRequest *request))failure;
@end

NS_ASSUME_NONNULL_END
